﻿<%@ Page Title="" Language="C#" MasterPageFile="~/administrator/site.master" AutoEventWireup="true" CodeFile="update-product.aspx.cs" Inherits="administrator_update_product" %>

<%@ Register TagPrefix="ck" Namespace="CKEditor.NET" Assembly="CKEditor.NET, Version=3.6.2.0, Culture=neutral, PublicKeyToken=e379cdf2f8354999" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .style1
        {
            height: 27px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
  <table class="tbthemsp" width="100%" cellspacing="5">
            <tr>
                <td colspan="2"><asp:Label runat="server" ID="lblthongbao" ForeColor="red" BackColor="yellow"></asp:Label></td>
            </tr>
      <asp:ScriptManager ID="ScriptManager1" runat="server">
      </asp:ScriptManager>
      <asp:UpdatePanel ID="UpdatePanel1" runat="server">
      <ContentTemplate>
              <tr><td>Nhóm sản phẩm:</td><td><asp:DropDownList runat="server" ID="drdnhomcha" 
                      Width="250" onselectedindexchanged="drdnhomcha_SelectedIndexChanged" AutoPostBack="true"/>&nbsp;&nbsp;<asp:CheckBox runat="server" ID="chk" Text="&nbsp;Chọn lại"/></td></tr>
              <tr><td class="style1">Loại sản phẩm:</td><td class="style1"><asp:DropDownList runat="server" ID="drdnhomcon" Width="250"/></td></tr>
    </ContentTemplate>
      </asp:UpdatePanel>
            
            <tr><td>Tên sản phẩm:</td><td><asp:TextBox runat="server" ID="txttensp" CssClass="txttensp" Width="494px"></asp:TextBox></td></tr>
            <tr><td>Số lượng:</td><td><asp:TextBox runat="server" ID="txtsoluong" CssClass="txtsoluong" Width="94px"></asp:TextBox></td></tr>
            <tr><td>Giá hãng:</td><td><asp:TextBox runat="server" ID="txtgiahang" CssClass="txtgiahang" Width="294px"></asp:TextBox></td></tr>
            <tr><td>Giá mua online:</td><td><asp:TextBox runat="server" ID="txtgiaonline" CssClass="txtgiaonline" Width="294px"></asp:TextBox></td></tr>
            <tr><td>Bảo hành:</td><td><asp:TextBox runat="server" ID="txtbaohanh" CssClass="txtbaohanh" Width="294px"></asp:TextBox></td></tr>
            <tr><td>Khuyến mại:</td><td><asp:TextBox runat="server" ID="txtkhuyenmai" CssClass="txtkhuyenmai" Width="294px" TextMode="MultiLine"></asp:TextBox></td></tr>
                <tr><td>Ảnh:</td><td><asp:FileUpload ID="FileUpload1" runat="server" />&nbsp;</td>  </tr>
            <tr><td>Mô tả tóm tắt:</td><td><asp:TextBox runat="server" ID="txttomtat" CssClass="txttomtat" TextMode="MultiLine" Width="500px" Rows="8"></asp:TextBox></td></tr>
            <tr><td colspan="2">Mô tả chi tiết:</td></tr>
            <tr><td colspan="2"><ck:CKEditorControl ID="FCK" runat="server" Width="690" BasePath="ckeditor" Height="700px" ToolbarBasic="Basic"></ck:CKEditorControl></td></tr>
            <tr><td colspan="2">Cập nhật<asp:ImageButton runat="server" ID="imbtthem" 
                    AlternateText="Thêm mới" ImageUrl="images/tick_button.png" 
                    onclick="imbtthem_Click" />
</td></tr>
        </table>
</asp:Content>
